date =new Date()
s= date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
console.log(s)